package com.sgcc.fj.pmos.common.bean;

import android.text.TextUtils;

public class UpdateInfoBean {

    private String msg;
    private int code;
    private DataDTO data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        private String result;
        private String versionBody;
        private String address;
        private String createTime;
        private String updateTime;
        private String id;
        private String versionName;
        private String versionHeader;
        private String content;

        public String getResult() {
            return TextUtils.isEmpty(result) ? "" : result;
        }

        public void setResult(String result) {
            this.result = result;
        }

        public String getVersionBody() {
            return versionBody;
        }

        public void setVersionBody(String versionBody) {
            this.versionBody = versionBody;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getVersionName() {
            return versionName;
        }

        public void setVersionName(String versionName) {
            this.versionName = versionName;
        }

        public String getVersionHeader() {
            return versionHeader;
        }

        public void setVersionHeader(String versionHeader) {
            this.versionHeader = versionHeader;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
}
